package com.hxd.mall.module.usercenter.message

import com.chad.library.adapter.base.BaseMultiItemQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.chad.library.adapter.base.entity.MultiItemEntity
import com.hxd.mall.R

/**
 * @author zhaoyong
 * @description:
 * @date :2019-10-18 16:33
 */
class MessageListAdapter(data: List<MultiItemEntity>) :
    BaseMultiItemQuickAdapter<MultiItemEntity, BaseViewHolder>(data) {
    init {
        addItemType(1, R.layout.adapter_message_item_layout)
        addItemType(2, R.layout.adapter_order_message_item_layout)
    }

    override fun convert(helper: BaseViewHolder?, item: MultiItemEntity?) {
        when (helper?.itemViewType) {
            1 -> {

            }
            2 -> {

            }
        }
    }
}